package com.allwees.bs.module.mms.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.allwees.bs.module.mms.entity.Retailer;
import com.allwees.bs.module.mms.req.query.RetailerQueryReq;
import com.allwees.bs.module.mms.req.query.RetailerStatisticsReq;
import com.allwees.core.dao.mybatis.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

/**
 *
 *
 * @author yangylsky
 * @since 2019-12-03
 *
 */
public interface RetailerDao extends BaseDao<Retailer> {

    Page<Retailer> selectPage(Page<Retailer> page, @Param("req") RetailerQueryReq req);


    Integer findRetailerNum(@Param("req") RetailerStatisticsReq req);
}
